package com.wanda.po;

import java.util.ArrayList;
import java.util.List;

public class HousingfundExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public HousingfundExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIndentnumberIsNull() {
            addCriterion("indentNumber is null");
            return (Criteria) this;
        }

        public Criteria andIndentnumberIsNotNull() {
            addCriterion("indentNumber is not null");
            return (Criteria) this;
        }

        public Criteria andIndentnumberEqualTo(String value) {
            addCriterion("indentNumber =", value, "indentnumber");
            return (Criteria) this;
        }

        public Criteria andIndentnumberNotEqualTo(String value) {
            addCriterion("indentNumber <>", value, "indentnumber");
            return (Criteria) this;
        }

        public Criteria andIndentnumberGreaterThan(String value) {
            addCriterion("indentNumber >", value, "indentnumber");
            return (Criteria) this;
        }

        public Criteria andIndentnumberGreaterThanOrEqualTo(String value) {
            addCriterion("indentNumber >=", value, "indentnumber");
            return (Criteria) this;
        }

        public Criteria andIndentnumberLessThan(String value) {
            addCriterion("indentNumber <", value, "indentnumber");
            return (Criteria) this;
        }

        public Criteria andIndentnumberLessThanOrEqualTo(String value) {
            addCriterion("indentNumber <=", value, "indentnumber");
            return (Criteria) this;
        }

        public Criteria andIndentnumberLike(String value) {
            addCriterion("indentNumber like", value, "indentnumber");
            return (Criteria) this;
        }

        public Criteria andIndentnumberNotLike(String value) {
            addCriterion("indentNumber not like", value, "indentnumber");
            return (Criteria) this;
        }

        public Criteria andIndentnumberIn(List<String> values) {
            addCriterion("indentNumber in", values, "indentnumber");
            return (Criteria) this;
        }

        public Criteria andIndentnumberNotIn(List<String> values) {
            addCriterion("indentNumber not in", values, "indentnumber");
            return (Criteria) this;
        }

        public Criteria andIndentnumberBetween(String value1, String value2) {
            addCriterion("indentNumber between", value1, value2, "indentnumber");
            return (Criteria) this;
        }

        public Criteria andIndentnumberNotBetween(String value1, String value2) {
            addCriterion("indentNumber not between", value1, value2, "indentnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberIsNull() {
            addCriterion("contractNumber is null");
            return (Criteria) this;
        }

        public Criteria andContractnumberIsNotNull() {
            addCriterion("contractNumber is not null");
            return (Criteria) this;
        }

        public Criteria andContractnumberEqualTo(String value) {
            addCriterion("contractNumber =", value, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberNotEqualTo(String value) {
            addCriterion("contractNumber <>", value, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberGreaterThan(String value) {
            addCriterion("contractNumber >", value, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberGreaterThanOrEqualTo(String value) {
            addCriterion("contractNumber >=", value, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberLessThan(String value) {
            addCriterion("contractNumber <", value, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberLessThanOrEqualTo(String value) {
            addCriterion("contractNumber <=", value, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberLike(String value) {
            addCriterion("contractNumber like", value, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberNotLike(String value) {
            addCriterion("contractNumber not like", value, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberIn(List<String> values) {
            addCriterion("contractNumber in", values, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberNotIn(List<String> values) {
            addCriterion("contractNumber not in", values, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberBetween(String value1, String value2) {
            addCriterion("contractNumber between", value1, value2, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andContractnumberNotBetween(String value1, String value2) {
            addCriterion("contractNumber not between", value1, value2, "contractnumber");
            return (Criteria) this;
        }

        public Criteria andRoomIsNull() {
            addCriterion("room is null");
            return (Criteria) this;
        }

        public Criteria andRoomIsNotNull() {
            addCriterion("room is not null");
            return (Criteria) this;
        }

        public Criteria andRoomEqualTo(String value) {
            addCriterion("room =", value, "room");
            return (Criteria) this;
        }

        public Criteria andRoomNotEqualTo(String value) {
            addCriterion("room <>", value, "room");
            return (Criteria) this;
        }

        public Criteria andRoomGreaterThan(String value) {
            addCriterion("room >", value, "room");
            return (Criteria) this;
        }

        public Criteria andRoomGreaterThanOrEqualTo(String value) {
            addCriterion("room >=", value, "room");
            return (Criteria) this;
        }

        public Criteria andRoomLessThan(String value) {
            addCriterion("room <", value, "room");
            return (Criteria) this;
        }

        public Criteria andRoomLessThanOrEqualTo(String value) {
            addCriterion("room <=", value, "room");
            return (Criteria) this;
        }

        public Criteria andRoomLike(String value) {
            addCriterion("room like", value, "room");
            return (Criteria) this;
        }

        public Criteria andRoomNotLike(String value) {
            addCriterion("room not like", value, "room");
            return (Criteria) this;
        }

        public Criteria andRoomIn(List<String> values) {
            addCriterion("room in", values, "room");
            return (Criteria) this;
        }

        public Criteria andRoomNotIn(List<String> values) {
            addCriterion("room not in", values, "room");
            return (Criteria) this;
        }

        public Criteria andRoomBetween(String value1, String value2) {
            addCriterion("room between", value1, value2, "room");
            return (Criteria) this;
        }

        public Criteria andRoomNotBetween(String value1, String value2) {
            addCriterion("room not between", value1, value2, "room");
            return (Criteria) this;
        }

        public Criteria andCustomernameIsNull() {
            addCriterion("customerName is null");
            return (Criteria) this;
        }

        public Criteria andCustomernameIsNotNull() {
            addCriterion("customerName is not null");
            return (Criteria) this;
        }

        public Criteria andCustomernameEqualTo(String value) {
            addCriterion("customerName =", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameNotEqualTo(String value) {
            addCriterion("customerName <>", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameGreaterThan(String value) {
            addCriterion("customerName >", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameGreaterThanOrEqualTo(String value) {
            addCriterion("customerName >=", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameLessThan(String value) {
            addCriterion("customerName <", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameLessThanOrEqualTo(String value) {
            addCriterion("customerName <=", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameLike(String value) {
            addCriterion("customerName like", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameNotLike(String value) {
            addCriterion("customerName not like", value, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameIn(List<String> values) {
            addCriterion("customerName in", values, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameNotIn(List<String> values) {
            addCriterion("customerName not in", values, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameBetween(String value1, String value2) {
            addCriterion("customerName between", value1, value2, "customername");
            return (Criteria) this;
        }

        public Criteria andCustomernameNotBetween(String value1, String value2) {
            addCriterion("customerName not between", value1, value2, "customername");
            return (Criteria) this;
        }

        public Criteria andPhonenumberIsNull() {
            addCriterion("phoneNumber is null");
            return (Criteria) this;
        }

        public Criteria andPhonenumberIsNotNull() {
            addCriterion("phoneNumber is not null");
            return (Criteria) this;
        }

        public Criteria andPhonenumberEqualTo(String value) {
            addCriterion("phoneNumber =", value, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberNotEqualTo(String value) {
            addCriterion("phoneNumber <>", value, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberGreaterThan(String value) {
            addCriterion("phoneNumber >", value, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberGreaterThanOrEqualTo(String value) {
            addCriterion("phoneNumber >=", value, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberLessThan(String value) {
            addCriterion("phoneNumber <", value, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberLessThanOrEqualTo(String value) {
            addCriterion("phoneNumber <=", value, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberLike(String value) {
            addCriterion("phoneNumber like", value, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberNotLike(String value) {
            addCriterion("phoneNumber not like", value, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberIn(List<String> values) {
            addCriterion("phoneNumber in", values, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberNotIn(List<String> values) {
            addCriterion("phoneNumber not in", values, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberBetween(String value1, String value2) {
            addCriterion("phoneNumber between", value1, value2, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andPhonenumberNotBetween(String value1, String value2) {
            addCriterion("phoneNumber not between", value1, value2, "phonenumber");
            return (Criteria) this;
        }

        public Criteria andAgentnameIsNull() {
            addCriterion("agentName is null");
            return (Criteria) this;
        }

        public Criteria andAgentnameIsNotNull() {
            addCriterion("agentName is not null");
            return (Criteria) this;
        }

        public Criteria andAgentnameEqualTo(String value) {
            addCriterion("agentName =", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameNotEqualTo(String value) {
            addCriterion("agentName <>", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameGreaterThan(String value) {
            addCriterion("agentName >", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameGreaterThanOrEqualTo(String value) {
            addCriterion("agentName >=", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameLessThan(String value) {
            addCriterion("agentName <", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameLessThanOrEqualTo(String value) {
            addCriterion("agentName <=", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameLike(String value) {
            addCriterion("agentName like", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameNotLike(String value) {
            addCriterion("agentName not like", value, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameIn(List<String> values) {
            addCriterion("agentName in", values, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameNotIn(List<String> values) {
            addCriterion("agentName not in", values, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameBetween(String value1, String value2) {
            addCriterion("agentName between", value1, value2, "agentname");
            return (Criteria) this;
        }

        public Criteria andAgentnameNotBetween(String value1, String value2) {
            addCriterion("agentName not between", value1, value2, "agentname");
            return (Criteria) this;
        }

        public Criteria andReceivablesIsNull() {
            addCriterion("receivables is null");
            return (Criteria) this;
        }

        public Criteria andReceivablesIsNotNull() {
            addCriterion("receivables is not null");
            return (Criteria) this;
        }

        public Criteria andReceivablesEqualTo(Integer value) {
            addCriterion("receivables =", value, "receivables");
            return (Criteria) this;
        }

        public Criteria andReceivablesNotEqualTo(Integer value) {
            addCriterion("receivables <>", value, "receivables");
            return (Criteria) this;
        }

        public Criteria andReceivablesGreaterThan(Integer value) {
            addCriterion("receivables >", value, "receivables");
            return (Criteria) this;
        }

        public Criteria andReceivablesGreaterThanOrEqualTo(Integer value) {
            addCriterion("receivables >=", value, "receivables");
            return (Criteria) this;
        }

        public Criteria andReceivablesLessThan(Integer value) {
            addCriterion("receivables <", value, "receivables");
            return (Criteria) this;
        }

        public Criteria andReceivablesLessThanOrEqualTo(Integer value) {
            addCriterion("receivables <=", value, "receivables");
            return (Criteria) this;
        }

        public Criteria andReceivablesIn(List<Integer> values) {
            addCriterion("receivables in", values, "receivables");
            return (Criteria) this;
        }

        public Criteria andReceivablesNotIn(List<Integer> values) {
            addCriterion("receivables not in", values, "receivables");
            return (Criteria) this;
        }

        public Criteria andReceivablesBetween(Integer value1, Integer value2) {
            addCriterion("receivables between", value1, value2, "receivables");
            return (Criteria) this;
        }

        public Criteria andReceivablesNotBetween(Integer value1, Integer value2) {
            addCriterion("receivables not between", value1, value2, "receivables");
            return (Criteria) this;
        }

        public Criteria andAlreadyreceivablesIsNull() {
            addCriterion("alreadyReceivables is null");
            return (Criteria) this;
        }

        public Criteria andAlreadyreceivablesIsNotNull() {
            addCriterion("alreadyReceivables is not null");
            return (Criteria) this;
        }

        public Criteria andAlreadyreceivablesEqualTo(Integer value) {
            addCriterion("alreadyReceivables =", value, "alreadyreceivables");
            return (Criteria) this;
        }

        public Criteria andAlreadyreceivablesNotEqualTo(Integer value) {
            addCriterion("alreadyReceivables <>", value, "alreadyreceivables");
            return (Criteria) this;
        }

        public Criteria andAlreadyreceivablesGreaterThan(Integer value) {
            addCriterion("alreadyReceivables >", value, "alreadyreceivables");
            return (Criteria) this;
        }

        public Criteria andAlreadyreceivablesGreaterThanOrEqualTo(Integer value) {
            addCriterion("alreadyReceivables >=", value, "alreadyreceivables");
            return (Criteria) this;
        }

        public Criteria andAlreadyreceivablesLessThan(Integer value) {
            addCriterion("alreadyReceivables <", value, "alreadyreceivables");
            return (Criteria) this;
        }

        public Criteria andAlreadyreceivablesLessThanOrEqualTo(Integer value) {
            addCriterion("alreadyReceivables <=", value, "alreadyreceivables");
            return (Criteria) this;
        }

        public Criteria andAlreadyreceivablesIn(List<Integer> values) {
            addCriterion("alreadyReceivables in", values, "alreadyreceivables");
            return (Criteria) this;
        }

        public Criteria andAlreadyreceivablesNotIn(List<Integer> values) {
            addCriterion("alreadyReceivables not in", values, "alreadyreceivables");
            return (Criteria) this;
        }

        public Criteria andAlreadyreceivablesBetween(Integer value1, Integer value2) {
            addCriterion("alreadyReceivables between", value1, value2, "alreadyreceivables");
            return (Criteria) this;
        }

        public Criteria andAlreadyreceivablesNotBetween(Integer value1, Integer value2) {
            addCriterion("alreadyReceivables not between", value1, value2, "alreadyreceivables");
            return (Criteria) this;
        }

        public Criteria andUncollectedIsNull() {
            addCriterion("uncollected is null");
            return (Criteria) this;
        }

        public Criteria andUncollectedIsNotNull() {
            addCriterion("uncollected is not null");
            return (Criteria) this;
        }

        public Criteria andUncollectedEqualTo(Integer value) {
            addCriterion("uncollected =", value, "uncollected");
            return (Criteria) this;
        }

        public Criteria andUncollectedNotEqualTo(Integer value) {
            addCriterion("uncollected <>", value, "uncollected");
            return (Criteria) this;
        }

        public Criteria andUncollectedGreaterThan(Integer value) {
            addCriterion("uncollected >", value, "uncollected");
            return (Criteria) this;
        }

        public Criteria andUncollectedGreaterThanOrEqualTo(Integer value) {
            addCriterion("uncollected >=", value, "uncollected");
            return (Criteria) this;
        }

        public Criteria andUncollectedLessThan(Integer value) {
            addCriterion("uncollected <", value, "uncollected");
            return (Criteria) this;
        }

        public Criteria andUncollectedLessThanOrEqualTo(Integer value) {
            addCriterion("uncollected <=", value, "uncollected");
            return (Criteria) this;
        }

        public Criteria andUncollectedIn(List<Integer> values) {
            addCriterion("uncollected in", values, "uncollected");
            return (Criteria) this;
        }

        public Criteria andUncollectedNotIn(List<Integer> values) {
            addCriterion("uncollected not in", values, "uncollected");
            return (Criteria) this;
        }

        public Criteria andUncollectedBetween(Integer value1, Integer value2) {
            addCriterion("uncollected between", value1, value2, "uncollected");
            return (Criteria) this;
        }

        public Criteria andUncollectedNotBetween(Integer value1, Integer value2) {
            addCriterion("uncollected not between", value1, value2, "uncollected");
            return (Criteria) this;
        }

        public Criteria andAlreadypaycountIsNull() {
            addCriterion("alreadyPayCount is null");
            return (Criteria) this;
        }

        public Criteria andAlreadypaycountIsNotNull() {
            addCriterion("alreadyPayCount is not null");
            return (Criteria) this;
        }

        public Criteria andAlreadypaycountEqualTo(Integer value) {
            addCriterion("alreadyPayCount =", value, "alreadypaycount");
            return (Criteria) this;
        }

        public Criteria andAlreadypaycountNotEqualTo(Integer value) {
            addCriterion("alreadyPayCount <>", value, "alreadypaycount");
            return (Criteria) this;
        }

        public Criteria andAlreadypaycountGreaterThan(Integer value) {
            addCriterion("alreadyPayCount >", value, "alreadypaycount");
            return (Criteria) this;
        }

        public Criteria andAlreadypaycountGreaterThanOrEqualTo(Integer value) {
            addCriterion("alreadyPayCount >=", value, "alreadypaycount");
            return (Criteria) this;
        }

        public Criteria andAlreadypaycountLessThan(Integer value) {
            addCriterion("alreadyPayCount <", value, "alreadypaycount");
            return (Criteria) this;
        }

        public Criteria andAlreadypaycountLessThanOrEqualTo(Integer value) {
            addCriterion("alreadyPayCount <=", value, "alreadypaycount");
            return (Criteria) this;
        }

        public Criteria andAlreadypaycountIn(List<Integer> values) {
            addCriterion("alreadyPayCount in", values, "alreadypaycount");
            return (Criteria) this;
        }

        public Criteria andAlreadypaycountNotIn(List<Integer> values) {
            addCriterion("alreadyPayCount not in", values, "alreadypaycount");
            return (Criteria) this;
        }

        public Criteria andAlreadypaycountBetween(Integer value1, Integer value2) {
            addCriterion("alreadyPayCount between", value1, value2, "alreadypaycount");
            return (Criteria) this;
        }

        public Criteria andAlreadypaycountNotBetween(Integer value1, Integer value2) {
            addCriterion("alreadyPayCount not between", value1, value2, "alreadypaycount");
            return (Criteria) this;
        }

        public Criteria andUnpaycountIsNull() {
            addCriterion("unPayCount is null");
            return (Criteria) this;
        }

        public Criteria andUnpaycountIsNotNull() {
            addCriterion("unPayCount is not null");
            return (Criteria) this;
        }

        public Criteria andUnpaycountEqualTo(Integer value) {
            addCriterion("unPayCount =", value, "unpaycount");
            return (Criteria) this;
        }

        public Criteria andUnpaycountNotEqualTo(Integer value) {
            addCriterion("unPayCount <>", value, "unpaycount");
            return (Criteria) this;
        }

        public Criteria andUnpaycountGreaterThan(Integer value) {
            addCriterion("unPayCount >", value, "unpaycount");
            return (Criteria) this;
        }

        public Criteria andUnpaycountGreaterThanOrEqualTo(Integer value) {
            addCriterion("unPayCount >=", value, "unpaycount");
            return (Criteria) this;
        }

        public Criteria andUnpaycountLessThan(Integer value) {
            addCriterion("unPayCount <", value, "unpaycount");
            return (Criteria) this;
        }

        public Criteria andUnpaycountLessThanOrEqualTo(Integer value) {
            addCriterion("unPayCount <=", value, "unpaycount");
            return (Criteria) this;
        }

        public Criteria andUnpaycountIn(List<Integer> values) {
            addCriterion("unPayCount in", values, "unpaycount");
            return (Criteria) this;
        }

        public Criteria andUnpaycountNotIn(List<Integer> values) {
            addCriterion("unPayCount not in", values, "unpaycount");
            return (Criteria) this;
        }

        public Criteria andUnpaycountBetween(Integer value1, Integer value2) {
            addCriterion("unPayCount between", value1, value2, "unpaycount");
            return (Criteria) this;
        }

        public Criteria andUnpaycountNotBetween(Integer value1, Integer value2) {
            addCriterion("unPayCount not between", value1, value2, "unpaycount");
            return (Criteria) this;
        }

        public Criteria andAreadifferenceIsNull() {
            addCriterion("areaDifference is null");
            return (Criteria) this;
        }

        public Criteria andAreadifferenceIsNotNull() {
            addCriterion("areaDifference is not null");
            return (Criteria) this;
        }

        public Criteria andAreadifferenceEqualTo(Integer value) {
            addCriterion("areaDifference =", value, "areadifference");
            return (Criteria) this;
        }

        public Criteria andAreadifferenceNotEqualTo(Integer value) {
            addCriterion("areaDifference <>", value, "areadifference");
            return (Criteria) this;
        }

        public Criteria andAreadifferenceGreaterThan(Integer value) {
            addCriterion("areaDifference >", value, "areadifference");
            return (Criteria) this;
        }

        public Criteria andAreadifferenceGreaterThanOrEqualTo(Integer value) {
            addCriterion("areaDifference >=", value, "areadifference");
            return (Criteria) this;
        }

        public Criteria andAreadifferenceLessThan(Integer value) {
            addCriterion("areaDifference <", value, "areadifference");
            return (Criteria) this;
        }

        public Criteria andAreadifferenceLessThanOrEqualTo(Integer value) {
            addCriterion("areaDifference <=", value, "areadifference");
            return (Criteria) this;
        }

        public Criteria andAreadifferenceIn(List<Integer> values) {
            addCriterion("areaDifference in", values, "areadifference");
            return (Criteria) this;
        }

        public Criteria andAreadifferenceNotIn(List<Integer> values) {
            addCriterion("areaDifference not in", values, "areadifference");
            return (Criteria) this;
        }

        public Criteria andAreadifferenceBetween(Integer value1, Integer value2) {
            addCriterion("areaDifference between", value1, value2, "areadifference");
            return (Criteria) this;
        }

        public Criteria andAreadifferenceNotBetween(Integer value1, Integer value2) {
            addCriterion("areaDifference not between", value1, value2, "areadifference");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(String value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(String value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(String value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(String value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(String value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(String value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLike(String value) {
            addCriterion("state like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotLike(String value) {
            addCriterion("state not like", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<String> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<String> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(String value1, String value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(String value1, String value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andCommentIsNull() {
            addCriterion("comment is null");
            return (Criteria) this;
        }

        public Criteria andCommentIsNotNull() {
            addCriterion("comment is not null");
            return (Criteria) this;
        }

        public Criteria andCommentEqualTo(String value) {
            addCriterion("comment =", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotEqualTo(String value) {
            addCriterion("comment <>", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThan(String value) {
            addCriterion("comment >", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThanOrEqualTo(String value) {
            addCriterion("comment >=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThan(String value) {
            addCriterion("comment <", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThanOrEqualTo(String value) {
            addCriterion("comment <=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLike(String value) {
            addCriterion("comment like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotLike(String value) {
            addCriterion("comment not like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentIn(List<String> values) {
            addCriterion("comment in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotIn(List<String> values) {
            addCriterion("comment not in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentBetween(String value1, String value2) {
            addCriterion("comment between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotBetween(String value1, String value2) {
            addCriterion("comment not between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andComment1IsNull() {
            addCriterion("comment1 is null");
            return (Criteria) this;
        }

        public Criteria andComment1IsNotNull() {
            addCriterion("comment1 is not null");
            return (Criteria) this;
        }

        public Criteria andComment1EqualTo(String value) {
            addCriterion("comment1 =", value, "comment1");
            return (Criteria) this;
        }

        public Criteria andComment1NotEqualTo(String value) {
            addCriterion("comment1 <>", value, "comment1");
            return (Criteria) this;
        }

        public Criteria andComment1GreaterThan(String value) {
            addCriterion("comment1 >", value, "comment1");
            return (Criteria) this;
        }

        public Criteria andComment1GreaterThanOrEqualTo(String value) {
            addCriterion("comment1 >=", value, "comment1");
            return (Criteria) this;
        }

        public Criteria andComment1LessThan(String value) {
            addCriterion("comment1 <", value, "comment1");
            return (Criteria) this;
        }

        public Criteria andComment1LessThanOrEqualTo(String value) {
            addCriterion("comment1 <=", value, "comment1");
            return (Criteria) this;
        }

        public Criteria andComment1Like(String value) {
            addCriterion("comment1 like", value, "comment1");
            return (Criteria) this;
        }

        public Criteria andComment1NotLike(String value) {
            addCriterion("comment1 not like", value, "comment1");
            return (Criteria) this;
        }

        public Criteria andComment1In(List<String> values) {
            addCriterion("comment1 in", values, "comment1");
            return (Criteria) this;
        }

        public Criteria andComment1NotIn(List<String> values) {
            addCriterion("comment1 not in", values, "comment1");
            return (Criteria) this;
        }

        public Criteria andComment1Between(String value1, String value2) {
            addCriterion("comment1 between", value1, value2, "comment1");
            return (Criteria) this;
        }

        public Criteria andComment1NotBetween(String value1, String value2) {
            addCriterion("comment1 not between", value1, value2, "comment1");
            return (Criteria) this;
        }

        public Criteria andComment2IsNull() {
            addCriterion("comment2 is null");
            return (Criteria) this;
        }

        public Criteria andComment2IsNotNull() {
            addCriterion("comment2 is not null");
            return (Criteria) this;
        }

        public Criteria andComment2EqualTo(String value) {
            addCriterion("comment2 =", value, "comment2");
            return (Criteria) this;
        }

        public Criteria andComment2NotEqualTo(String value) {
            addCriterion("comment2 <>", value, "comment2");
            return (Criteria) this;
        }

        public Criteria andComment2GreaterThan(String value) {
            addCriterion("comment2 >", value, "comment2");
            return (Criteria) this;
        }

        public Criteria andComment2GreaterThanOrEqualTo(String value) {
            addCriterion("comment2 >=", value, "comment2");
            return (Criteria) this;
        }

        public Criteria andComment2LessThan(String value) {
            addCriterion("comment2 <", value, "comment2");
            return (Criteria) this;
        }

        public Criteria andComment2LessThanOrEqualTo(String value) {
            addCriterion("comment2 <=", value, "comment2");
            return (Criteria) this;
        }

        public Criteria andComment2Like(String value) {
            addCriterion("comment2 like", value, "comment2");
            return (Criteria) this;
        }

        public Criteria andComment2NotLike(String value) {
            addCriterion("comment2 not like", value, "comment2");
            return (Criteria) this;
        }

        public Criteria andComment2In(List<String> values) {
            addCriterion("comment2 in", values, "comment2");
            return (Criteria) this;
        }

        public Criteria andComment2NotIn(List<String> values) {
            addCriterion("comment2 not in", values, "comment2");
            return (Criteria) this;
        }

        public Criteria andComment2Between(String value1, String value2) {
            addCriterion("comment2 between", value1, value2, "comment2");
            return (Criteria) this;
        }

        public Criteria andComment2NotBetween(String value1, String value2) {
            addCriterion("comment2 not between", value1, value2, "comment2");
            return (Criteria) this;
        }

        public Criteria andComment3IsNull() {
            addCriterion("comment3 is null");
            return (Criteria) this;
        }

        public Criteria andComment3IsNotNull() {
            addCriterion("comment3 is not null");
            return (Criteria) this;
        }

        public Criteria andComment3EqualTo(String value) {
            addCriterion("comment3 =", value, "comment3");
            return (Criteria) this;
        }

        public Criteria andComment3NotEqualTo(String value) {
            addCriterion("comment3 <>", value, "comment3");
            return (Criteria) this;
        }

        public Criteria andComment3GreaterThan(String value) {
            addCriterion("comment3 >", value, "comment3");
            return (Criteria) this;
        }

        public Criteria andComment3GreaterThanOrEqualTo(String value) {
            addCriterion("comment3 >=", value, "comment3");
            return (Criteria) this;
        }

        public Criteria andComment3LessThan(String value) {
            addCriterion("comment3 <", value, "comment3");
            return (Criteria) this;
        }

        public Criteria andComment3LessThanOrEqualTo(String value) {
            addCriterion("comment3 <=", value, "comment3");
            return (Criteria) this;
        }

        public Criteria andComment3Like(String value) {
            addCriterion("comment3 like", value, "comment3");
            return (Criteria) this;
        }

        public Criteria andComment3NotLike(String value) {
            addCriterion("comment3 not like", value, "comment3");
            return (Criteria) this;
        }

        public Criteria andComment3In(List<String> values) {
            addCriterion("comment3 in", values, "comment3");
            return (Criteria) this;
        }

        public Criteria andComment3NotIn(List<String> values) {
            addCriterion("comment3 not in", values, "comment3");
            return (Criteria) this;
        }

        public Criteria andComment3Between(String value1, String value2) {
            addCriterion("comment3 between", value1, value2, "comment3");
            return (Criteria) this;
        }

        public Criteria andComment3NotBetween(String value1, String value2) {
            addCriterion("comment3 not between", value1, value2, "comment3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}